package com.aop.aspect;

import lombok.extern.slf4j.Slf4j;
import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.*;
import org.springframework.stereotype.Component;

/**
 * @author wzm
 * @create 2043-10-16 11:33
 * project_name:javaweb2308
 */
@Component
//@Aspect
@Slf4j
public class PointCutTest {

    //前置通知
    //我想要引用adviceTypes中的切入点表达式
    @Before("com.aop.aspect.AdviceTypes.pt()")
    public void before(){
        log.info("04前置通知before...");
    }

}
